<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
      <title>Class Workpiece | HiAPI-C# 2025 </title>
      <meta name="viewport" content="width=device-width, initial-scale=1.0">
      <meta name="title" content="Class Workpiece | HiAPI-C# 2025 ">
      
      <meta name="description" content="Workpiece.">
      <link rel="icon" href="../img/HiAPI.favicon.ico">
      <link rel="stylesheet" href="../public/docfx.min.css">
      <link rel="stylesheet" href="../public/main.css">
      <meta name="docfx:navrel" content="../toc.html">
      <meta name="docfx:tocrel" content="toc.html">
      
      <meta name="docfx:rel" content="../">
      
      
      
      <meta name="loc:inThisArticle" content="In this article">
      <meta name="loc:searchResultsCount" content="{count} results for &quot;{query}&quot;">
      <meta name="loc:searchNoResults" content="No results for &quot;{query}&quot;">
      <meta name="loc:tocFilter" content="Filter by title">
      <meta name="loc:nextArticle" content="Next">
      <meta name="loc:prevArticle" content="Previous">
      <meta name="loc:themeLight" content="Light">
      <meta name="loc:themeDark" content="Dark">
      <meta name="loc:themeAuto" content="Auto">
      <meta name="loc:changeTheme" content="Change theme">
      <meta name="loc:copy" content="Copy">
      <meta name="loc:downloadPdf" content="Download PDF">

      <script type="module" src="./../public/docfx.min.js"></script>

      <script>
        const theme = localStorage.getItem('theme') || 'auto'
        document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
      </script>

  </head>

  <body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
    <header class="bg-body border-bottom">
      <nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
        <div class="container-xxl flex-nowrap">
          <a class="navbar-brand" href="../index.html">
            <img id="logo" class="svg" src="../img/HiAPI.logo.png" alt="">
            
          </a>
          <button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
            <i class="bi bi-three-dots"></i>
          </button>
          <div class="collapse navbar-collapse" id="navpanel">
            <div id="navbar">
              <form class="search" role="search" id="search">
                <i class="bi bi-search"></i>
                <input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
              </form>
            </div>
          </div>
        </div>
      </nav>
    </header>

    <main class="container-xxl">
      <div class="toc-offcanvas">
        <div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
          <div class="offcanvas-header">
            <h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
            <button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
          </div>
          <div class="offcanvas-body">
            <nav class="toc" id="toc"></nav>
          </div>
        </div>
      </div>

      <div class="content">
        <div class="actionbar">
          <button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
            <i class="bi bi-list"></i>
          </button>

          <nav id="breadcrumb"></nav>
        </div>

        <article data-uid="Hi.NcMech.Workpieces.Workpiece">



  <h1 id="Hi_NcMech_Workpieces_Workpiece" data-uid="Hi.NcMech.Workpieces.Workpiece" class="text-break">
Class Workpiece  
  </h1>

  <div class="facts text-secondary">
    <dl><dt>Namespace</dt><dd><a class="xref" href="Hi.html">Hi</a>.<a class="xref" href="Hi.NcMech.html">NcMech</a>.<a class="xref" href="Hi.NcMech.Workpieces.html">Workpieces</a></dd></dl>
  <dl><dt>Assembly</dt><dd>HiMech.dll</dd></dl>
  </div>

  <div class="markdown summary"><p>Workpiece.</p>
</div>
  <div class="markdown conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Workpiece : IDisplayee, IExpandToBox3d, IDisposable, IGetAnchor, IGetTopoIndex, IGetAnchoredDisplayeeList, IAnchoredCollidableLeaf, IAnchoredCollidableNode, IAnchoredCollidableBased, ICollidable, IGetCuttingPara, IMakeXmlSource</code></pre>
  </div>




  <dl class="typelist inheritance">
    <dt>Inheritance</dt>
    <dd>
      <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
      <div><span class="xref">Workpiece</span></div>
    </dd>
  </dl>

  <dl class="typelist implements">
    <dt>Implements</dt>
    <dd>
      <div><a class="xref" href="Hi.Disp.IDisplayee.html">IDisplayee</a></div>
      <div><a class="xref" href="Hi.Geom.IExpandToBox3d.html">IExpandToBox3d</a></div>
      <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.idisposable">IDisposable</a></div>
      <div><a class="xref" href="Hi.Mech.Topo.IGetAnchor.html">IGetAnchor</a></div>
      <div><a class="xref" href="Hi.Mech.Topo.IGetTopoIndex.html">IGetTopoIndex</a></div>
      <div><a class="xref" href="Hi.Mech.Topo.IGetAnchoredDisplayeeList.html">IGetAnchoredDisplayeeList</a></div>
      <div><a class="xref" href="Hi.Collision.IAnchoredCollidableLeaf.html">IAnchoredCollidableLeaf</a></div>
      <div><a class="xref" href="Hi.Collision.IAnchoredCollidableNode.html">IAnchoredCollidableNode</a></div>
      <div><a class="xref" href="Hi.Collision.IAnchoredCollidableBased.html">IAnchoredCollidableBased</a></div>
      <div><a class="xref" href="Hi.Collision.ICollidable.html">ICollidable</a></div>
      <div><a class="xref" href="Hi.MillingForces.Fittings.IGetCuttingPara.html">IGetCuttingPara</a></div>
      <div><a class="xref" href="Hi.Common.XmlUtils.IMakeXmlSource.html">IMakeXmlSource</a></div>
    </dd>
  </dl>


  <dl class="typelist inheritedMembers">
    <dt>Inherited Members</dt>
    <dd>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
    </div>
    <div>
      <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
    </div>
  </dd></dl>

  <dl class="typelist extensionMethods">
    <dt>Extension Methods</dt>
    <dd>
  <div>
      <a class="xref" href="Hi.Collision.CollisionUtil.html#Hi_Collision_CollisionUtil_Detect_Hi_Collision_ICollidable_Hi_Collision_ICollidable_Hi_Geom_Mat4d_System_Double_System_Int32_">CollisionUtil.Detect(ICollidable, ICollidable, Mat4d, double, int)</a>
  </div>
  <div>
      <a class="xref" href="Hi.Disp.DispUtil.html#Hi_Disp_DispUtil_Display_Hi_Disp_IDisplayee_Hi_Disp_Bind_Hi_Geom_Mat4d_">DispUtil.Display(IDisplayee, Bind, Mat4d)</a>
  </div>
  <div>
      <a class="xref" href="Hi.Mech.Topo.TopoUtil.html#Hi_Mech_Topo_TopoUtil_Display_Hi_Mech_Topo_IGetAnchor_Hi_Disp_Bind_System_Collections_Generic_Dictionary_Hi_Mech_Topo_Anchor_Hi_Geom_Mat4d__">TopoUtil.Display(IGetAnchor, Bind, Dictionary&lt;Anchor, Mat4d&gt;)</a>
  </div>
  <div>
      <a class="xref" href="Hi.Mech.Topo.TopoUtil.html#Hi_Mech_Topo_TopoUtil_ExpandToBox3d_Hi_Mech_Topo_IGetAnchor_Hi_Geom_Box3d_System_Collections_Generic_Dictionary_Hi_Mech_Topo_Anchor_Hi_Geom_Mat4d__">TopoUtil.ExpandToBox3d(IGetAnchor, Box3d, Dictionary&lt;Anchor, Mat4d&gt;)</a>
  </div>
  <div>
      <a class="xref" href="Hi.Common.DuplicateUtil.html#Hi_Common_DuplicateUtil_TryDuplicate__1___0_System_Object___">DuplicateUtil.TryDuplicate&lt;TSelf&gt;(TSelf, params object[])</a>
  </div>
  <div>
      <a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__1___0_System_Action___0__">InvokeUtil.SelfInvoke&lt;TSrc&gt;(TSrc, Action&lt;TSrc&gt;)</a>
  </div>
  <div>
      <a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__2___0_System_Func___0___1__">InvokeUtil.SelfInvoke&lt;TSrc, TDst&gt;(TSrc, Func&lt;TSrc, TDst&gt;)</a>
  </div>
  <div>
      <a class="xref" href="Hi.Coloring.ColorUtil.html#Hi_Coloring_ColorUtil_GetGloomyColor_System_Object_System_Double_System_Double_">ColorUtil.GetGloomyColor(object, double, double)</a>
  </div>
  <div>
      <a class="xref" href="Hi.Common.NameUtil.html#Hi_Common_NameUtil_GetSelectionName_System_Object_">NameUtil.GetSelectionName(object)</a>
  </div>
  <div>
      <a class="xref" href="Hi.Common.StringUtil.html#Hi_Common_StringUtil_GetPropertyStringIfToStringNotOverloaded_System_Object_System_Boolean_System_Boolean_">StringUtil.GetPropertyStringIfToStringNotOverloaded(object, bool, bool)</a>
  </div>
  <div>
      <a class="xref" href="Hi.Parallels.LockUtil.html#Hi_Parallels_LockUtil_Lock_System_Object_">LockUtil.Lock(object)</a>
  </div>
  </dd></dl>





  <h2 class="section" id="constructors">Constructors
</h2>


  <a id="Hi_NcMech_Workpieces_Workpiece__ctor_" data-uid="Hi.NcMech.Workpieces.Workpiece.#ctor*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece__ctor" data-uid="Hi.NcMech.Workpieces.Workpiece.#ctor">
  Workpiece()
  
  </h3>

  <div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Hi.NcMech.Workpieces.Workpiece.html">Workpiece</a> class.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Workpiece()</code></pre>
  </div>













  <a id="Hi_NcMech_Workpieces_Workpiece__ctor_" data-uid="Hi.NcMech.Workpieces.Workpiece.#ctor*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece__ctor_System_Xml_Linq_XElement_System_String_System_String_" data-uid="Hi.NcMech.Workpieces.Workpiece.#ctor(System.Xml.Linq.XElement,System.String,System.String)">
  Workpiece(XElement, string, string)
  
  </h3>

  <div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Hi.NcMech.Workpieces.Workpiece.html">Workpiece</a> class.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Workpiece(XElement src, string baseDirectory, string relFile)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>src</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.linq.xelement">XElement</a></dt>
    <dd><p>XML element source.</p>
</dd>
    <dt><code>baseDirectory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>Base directory.</p>
</dd>
    <dt><code>relFile</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>Relative file path.</p>
</dd>
  </dl>












  <h2 class="section" id="properties">Properties
</h2>


  <a id="Hi_NcMech_Workpieces_Workpiece_Asmb_" data-uid="Hi.NcMech.Workpieces.Workpiece.Asmb*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_Asmb" data-uid="Hi.NcMech.Workpieces.Workpiece.Asmb">
  Asmb
  
  </h3>

  <div class="markdown level1 summary"><p>Asmb.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Asmb Asmb { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Mech.Topo.Asmb.html">Asmb</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_BottomResolution_" data-uid="Hi.NcMech.Workpieces.Workpiece.BottomResolution*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_BottomResolution" data-uid="Hi.NcMech.Workpieces.Workpiece.BottomResolution">
  BottomResolution
  
  </h3>

  <div class="markdown level1 summary"><p>Resolution.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public double BottomResolution { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_CollidableName_" data-uid="Hi.NcMech.Workpieces.Workpiece.CollidableName*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_CollidableName" data-uid="Hi.NcMech.Workpieces.Workpiece.CollidableName">
  CollidableName
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the name of the collidable object.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string CollidableName { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_CollisionFlag_" data-uid="Hi.NcMech.Workpieces.Workpiece.CollisionFlag*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_CollisionFlag" data-uid="Hi.NcMech.Workpieces.Workpiece.CollisionFlag">
  CollisionFlag
  
  </h3>

  <div class="markdown level1 summary"><p>Gets or sets the collision flag.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public CollisionFlag CollisionFlag { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Collision.CollisionFlag.html">CollisionFlag</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_CuttingPara_" data-uid="Hi.NcMech.Workpieces.Workpiece.CuttingPara*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_CuttingPara" data-uid="Hi.NcMech.Workpieces.Workpiece.CuttingPara">
  CuttingPara
  
  </h3>

  <div class="markdown level1 summary"><p>Milling parameters.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ICuttingPara CuttingPara { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.MillingForces.Fittings.ICuttingPara.html">ICuttingPara</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_CuttingParaFile_" data-uid="Hi.NcMech.Workpieces.Workpiece.CuttingParaFile*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_CuttingParaFile" data-uid="Hi.NcMech.Workpieces.Workpiece.CuttingParaFile">
  CuttingParaFile
  
  </h3>

  <div class="markdown level1 summary"><p>File path for milling parameters.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string CuttingParaFile { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_DiffAttachmentBag_" data-uid="Hi.NcMech.Workpieces.Workpiece.DiffAttachmentBag*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_DiffAttachmentBag" data-uid="Hi.NcMech.Workpieces.Workpiece.DiffAttachmentBag">
  DiffAttachmentBag
  
  </h3>

  <div class="markdown level1 summary"><p>transient object.
For Internal Use.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ConcurrentBag&lt;DiffAttachment&gt; DiffAttachmentBag { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.concurrent.concurrentbag-1">ConcurrentBag</a>&lt;<a class="xref" href="Hi.Cbtr.DiffAttachment.html">DiffAttachment</a>&gt;</dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_DiffRangeColorRule_" data-uid="Hi.NcMech.Workpieces.Workpiece.DiffRangeColorRule*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_DiffRangeColorRule" data-uid="Hi.NcMech.Workpieces.Workpiece.DiffRangeColorRule">
  DiffRangeColorRule
  
  </h3>

  <div class="markdown level1 summary"><p>Internal used.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public RangeColorRule DiffRangeColorRule { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Coloring.RangeColorRule.html">RangeColorRule</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_DiffVisualRadius_mm_" data-uid="Hi.NcMech.Workpieces.Workpiece.DiffVisualRadius_mm*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_DiffVisualRadius_mm" data-uid="Hi.NcMech.Workpieces.Workpiece.DiffVisualRadius_mm">
  DiffVisualRadius_mm
  
  </h3>

  <div class="markdown level1 summary"><p>Visual radius for difference visualization.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public double DiffVisualRadius_mm { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_FixtureBuckle_" data-uid="Hi.NcMech.Workpieces.Workpiece.FixtureBuckle*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_FixtureBuckle" data-uid="Hi.NcMech.Workpieces.Workpiece.FixtureBuckle">
  FixtureBuckle
  
  </h3>

  <div class="markdown level1 summary"><p>Buckle anchor.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Anchor FixtureBuckle { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_FixtureToProgramZeroMat4d_" data-uid="Hi.NcMech.Workpieces.Workpiece.FixtureToProgramZeroMat4d*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_FixtureToProgramZeroMat4d" data-uid="Hi.NcMech.Workpieces.Workpiece.FixtureToProgramZeroMat4d">
  FixtureToProgramZeroMat4d
  
  </h3>

  <div class="markdown level1 summary"><p>Matrix transformation from fixture to program zero.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Mat4d FixtureToProgramZeroMat4d { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Geom.Mat4d.html">Mat4d</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_GeomAnchor_" data-uid="Hi.NcMech.Workpieces.Workpiece.GeomAnchor*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_GeomAnchor" data-uid="Hi.NcMech.Workpieces.Workpiece.GeomAnchor">
  GeomAnchor
  
  </h3>

  <div class="markdown level1 summary"><p>Anchor of workpiece geometry.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Anchor GeomAnchor { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_HasDiff_" data-uid="Hi.NcMech.Workpieces.Workpiece.HasDiff*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_HasDiff" data-uid="Hi.NcMech.Workpieces.Workpiece.HasDiff">
  HasDiff
  
  </h3>

  <div class="markdown level1 summary"><p>Indicates whether there are differences between ideal and actual geometry.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool HasDiff { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_IdealGeom_" data-uid="Hi.NcMech.Workpieces.Workpiece.IdealGeom*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_IdealGeom" data-uid="Hi.NcMech.Workpieces.Workpiece.IdealGeom">
  IdealGeom
  
  </h3>

  <div class="markdown level1 summary"><p>Ideal geometry representation.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public IGetStl IdealGeom { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Geom.IGetStl.html">IGetStl</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_IdealSolid_" data-uid="Hi.NcMech.Workpieces.Workpiece.IdealSolid*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_IdealSolid" data-uid="Hi.NcMech.Workpieces.Workpiece.IdealSolid">
  IdealSolid
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the drawing representing the ideal geometry faces of the workpiece.
The derived solid from <a class="xref" href="Hi.NcMech.Workpieces.Workpiece.html#Hi_NcMech_Workpieces_Workpiece_IdealGeom">IdealGeom</a>.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Solid IdealSolid { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.NcMech.Solids.Solid.html">Solid</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_InitGeom_" data-uid="Hi.NcMech.Workpieces.Workpiece.InitGeom*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_InitGeom" data-uid="Hi.NcMech.Workpieces.Workpiece.InitGeom">
  InitGeom
  
  </h3>

  <div class="markdown level1 summary"><p>Raw geometry for initiate.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public IMakeXmlSource InitGeom { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Common.XmlUtils.IMakeXmlSource.html">IMakeXmlSource</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_InitResolution_" data-uid="Hi.NcMech.Workpieces.Workpiece.InitResolution*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_InitResolution" data-uid="Hi.NcMech.Workpieces.Workpiece.InitResolution">
  InitResolution
  
  </h3>

  <div class="markdown level1 summary"><p>Resolution for initialization.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public double InitResolution { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_InitSolid_" data-uid="Hi.NcMech.Workpieces.Workpiece.InitSolid*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_InitSolid" data-uid="Hi.NcMech.Workpieces.Workpiece.InitSolid">
  InitSolid
  
  </h3>

  <div class="markdown level1 summary"><p>The derived solid from <a class="xref" href="Hi.NcMech.Workpieces.Workpiece.html#Hi_NcMech_Workpieces_Workpiece_InitGeom">InitGeom</a>.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Solid InitSolid { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.NcMech.Solids.Solid.html">Solid</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_IsRuntimeGeomInit_" data-uid="Hi.NcMech.Workpieces.Workpiece.IsRuntimeGeomInit*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_IsRuntimeGeomInit" data-uid="Hi.NcMech.Workpieces.Workpiece.IsRuntimeGeomInit">
  IsRuntimeGeomInit
  
  </h3>

  <div class="markdown level1 summary"><p>Indicates whether the runtime geometry is initialized.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public bool IsRuntimeGeomInit { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_ProgramZeroAnchor_" data-uid="Hi.NcMech.Workpieces.Workpiece.ProgramZeroAnchor*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_ProgramZeroAnchor" data-uid="Hi.NcMech.Workpieces.Workpiece.ProgramZeroAnchor">
  ProgramZeroAnchor
  
  </h3>

  <div class="markdown level1 summary"><p>Anchor of geometry zero and cutter location zero.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Anchor ProgramZeroAnchor { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_WorkpieceGeomToFixtureBuckleBranch_" data-uid="Hi.NcMech.Workpieces.Workpiece.WorkpieceGeomToFixtureBuckleBranch*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_WorkpieceGeomToFixtureBuckleBranch" data-uid="Hi.NcMech.Workpieces.Workpiece.WorkpieceGeomToFixtureBuckleBranch">
  WorkpieceGeomToFixtureBuckleBranch
  
  </h3>

  <div class="markdown level1 summary"><p>Branch connecting workpiece geometry to fixture buckle.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Branch WorkpieceGeomToFixtureBuckleBranch { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Mech.Topo.Branch.html">Branch</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_WorkpieceGeomToFixtureBuckleTransformer_" data-uid="Hi.NcMech.Workpieces.Workpiece.WorkpieceGeomToFixtureBuckleTransformer*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_WorkpieceGeomToFixtureBuckleTransformer" data-uid="Hi.NcMech.Workpieces.Workpiece.WorkpieceGeomToFixtureBuckleTransformer">
  WorkpieceGeomToFixtureBuckleTransformer
  
  </h3>

  <div class="markdown level1 summary"><p>Transformer connecting workpiece geometry to fixture buckle.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ITransformer WorkpieceGeomToFixtureBuckleTransformer { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Mech.Topo.ITransformer.html">ITransformer</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_WorkpieceGeomToProgramZeroBranch_" data-uid="Hi.NcMech.Workpieces.Workpiece.WorkpieceGeomToProgramZeroBranch*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_WorkpieceGeomToProgramZeroBranch" data-uid="Hi.NcMech.Workpieces.Workpiece.WorkpieceGeomToProgramZeroBranch">
  WorkpieceGeomToProgramZeroBranch
  
  </h3>

  <div class="markdown level1 summary"><p>Branch connecting workpiece geometry to program zero.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Branch WorkpieceGeomToProgramZeroBranch { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Mech.Topo.Branch.html">Branch</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_WorkpieceGeomToProgramZeroTransformer_" data-uid="Hi.NcMech.Workpieces.Workpiece.WorkpieceGeomToProgramZeroTransformer*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_WorkpieceGeomToProgramZeroTransformer" data-uid="Hi.NcMech.Workpieces.Workpiece.WorkpieceGeomToProgramZeroTransformer">
  WorkpieceGeomToProgramZeroTransformer
  
  </h3>

  <div class="markdown level1 summary"><p>Transformer connecting workpiece geometry to program zero.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ITransformer WorkpieceGeomToProgramZeroTransformer { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Mech.Topo.ITransformer.html">ITransformer</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_WorkpieceMaterial_" data-uid="Hi.NcMech.Workpieces.Workpiece.WorkpieceMaterial*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_WorkpieceMaterial" data-uid="Hi.NcMech.Workpieces.Workpiece.WorkpieceMaterial">
  WorkpieceMaterial
  
  </h3>

  <div class="markdown level1 summary"><p>Workpiece material.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public WorkpieceMaterial WorkpieceMaterial { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Physics.WorkpieceMaterial.html">WorkpieceMaterial</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_WorkpieceMaterialFile_" data-uid="Hi.NcMech.Workpieces.Workpiece.WorkpieceMaterialFile*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_WorkpieceMaterialFile" data-uid="Hi.NcMech.Workpieces.Workpiece.WorkpieceMaterialFile">
  WorkpieceMaterialFile
  
  </h3>

  <div class="markdown level1 summary"><p>File path for workpiece material.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public string WorkpieceMaterialFile { get; set; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd></dd>
  </dl>








  <a id="Hi_NcMech_Workpieces_Workpiece_XName_" data-uid="Hi.NcMech.Workpieces.Workpiece.XName*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_XName" data-uid="Hi.NcMech.Workpieces.Workpiece.XName">
  XName
  
  </h3>

  <div class="markdown level1 summary"><p>Name for XML IO.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public static string XName { get; }</code></pre>
  </div>





  <h4 class="section">Property Value</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd></dd>
  </dl>








  <h2 class="section" id="methods">Methods
</h2>


  <a id="Hi_NcMech_Workpieces_Workpiece_ClearIdealGeomCache_" data-uid="Hi.NcMech.Workpieces.Workpiece.ClearIdealGeomCache*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_ClearIdealGeomCache" data-uid="Hi.NcMech.Workpieces.Workpiece.ClearIdealGeomCache">
  ClearIdealGeomCache()
  
  </h3>

  <div class="markdown level1 summary"><p>Clears the ideal geometry cache.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void ClearIdealGeomCache()</code></pre>
  </div>













  <a id="Hi_NcMech_Workpieces_Workpiece_ClearRawGeomCache_" data-uid="Hi.NcMech.Workpieces.Workpiece.ClearRawGeomCache*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_ClearRawGeomCache" data-uid="Hi.NcMech.Workpieces.Workpiece.ClearRawGeomCache">
  ClearRawGeomCache()
  
  </h3>

  <div class="markdown level1 summary"><p>Clears the raw geometry cache.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void ClearRawGeomCache()</code></pre>
  </div>













  <a id="Hi_NcMech_Workpieces_Workpiece_Diff_" data-uid="Hi.NcMech.Workpieces.Workpiece.Diff*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_Diff_System_Double_System_Threading_CancellationToken_System_Progress_Hi_Common_NativeProgresses_IProgressReport__" data-uid="Hi.NcMech.Workpieces.Workpiece.Diff(System.Double,System.Threading.CancellationToken,System.Progress{Hi.Common.NativeProgresses.IProgressReport})">
  Diff(double, CancellationToken, Progress&lt;IProgressReport&gt;)
  
  </h3>

  <div class="markdown level1 summary"><p>Calculates the difference between ideal and actual geometry.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Diff(double detectionRadius, CancellationToken token, Progress&lt;IProgressReport&gt; progress = null)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>detectionRadius</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
    <dd><p>Detection radius.</p>
</dd>
    <dt><code>token</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
    <dd><p>Cancellation token.</p>
</dd>
    <dt><code>progress</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.progress-1">Progress</a>&lt;<a class="xref" href="Hi.Common.NativeProgresses.IProgressReport.html">IProgressReport</a>&gt;</dt>
    <dd><p>Progress reporting interface.</p>
</dd>
  </dl>












  <a id="Hi_NcMech_Workpieces_Workpiece_Display_" data-uid="Hi.NcMech.Workpieces.Workpiece.Display*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_Display_Hi_Disp_Bind_" data-uid="Hi.NcMech.Workpieces.Workpiece.Display(Hi.Disp.Bind)">
  Display(Bind)
  
  </h3>

  <div class="markdown level1 summary"><p>Display function called in <a class="xref" href="Hi.Disp.DispEngine.html">DispEngine</a> rendering loop.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Display(Bind bind)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>bind</code> <a class="xref" href="Hi.Disp.Bind.html">Bind</a></dt>
    <dd><p>Bind with <a class="xref" href="Hi.Disp.DispEngine.html">DispEngine</a>. See <a class="xref" href="Hi.Disp.Bind.html">Bind</a>.</p>
</dd>
  </dl>












  <a id="Hi_NcMech_Workpieces_Workpiece_Dispose_" data-uid="Hi.NcMech.Workpieces.Workpiece.Dispose*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_Dispose" data-uid="Hi.NcMech.Workpieces.Workpiece.Dispose">
  Dispose()
  
  </h3>

  <div class="markdown level1 summary"><p>Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void Dispose()</code></pre>
  </div>













  <a id="Hi_NcMech_Workpieces_Workpiece_Dispose_" data-uid="Hi.NcMech.Workpieces.Workpiece.Dispose*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_Dispose_System_Boolean_" data-uid="Hi.NcMech.Workpieces.Workpiece.Dispose(System.Boolean)">
  Dispose(bool)
  
  </h3>

  <div class="markdown level1 summary"></div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">protected virtual void Dispose(bool disposing)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>disposing</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd></dd>
  </dl>












  <a id="Hi_NcMech_Workpieces_Workpiece_ExpandToBox3d_" data-uid="Hi.NcMech.Workpieces.Workpiece.ExpandToBox3d*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_ExpandToBox3d_Hi_Geom_Box3d_" data-uid="Hi.NcMech.Workpieces.Workpiece.ExpandToBox3d(Hi.Geom.Box3d)">
  ExpandToBox3d(Box3d)
  
  </h3>

  <div class="markdown level1 summary"><p>Expands the destination box.
This function is usually used to compute the bounding box of elements.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void ExpandToBox3d(Box3d dst)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>dst</code> <a class="xref" href="Hi.Geom.Box3d.html">Box3d</a></dt>
    <dd><p>Destination box</p>
</dd>
  </dl>












  <a id="Hi_NcMech_Workpieces_Workpiece_GetAnchor_" data-uid="Hi.NcMech.Workpieces.Workpiece.GetAnchor*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_GetAnchor" data-uid="Hi.NcMech.Workpieces.Workpiece.GetAnchor">
  GetAnchor()
  
  </h3>

  <div class="markdown level1 summary"><p>Get key anchor. (i.e. root anchor)</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Anchor GetAnchor()</code></pre>
  </div>


  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a></dt>
    <dd><p>key anchor</p>
</dd>
  </dl>











  <a id="Hi_NcMech_Workpieces_Workpiece_GetAnchoredCollidableNode_" data-uid="Hi.NcMech.Workpieces.Workpiece.GetAnchoredCollidableNode*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_GetAnchoredCollidableNode" data-uid="Hi.NcMech.Workpieces.Workpiece.GetAnchoredCollidableNode">
  GetAnchoredCollidableNode()
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the anchored collidable node associated with this object.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public IAnchoredCollidableNode GetAnchoredCollidableNode()</code></pre>
  </div>


  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Collision.IAnchoredCollidableNode.html">IAnchoredCollidableNode</a></dt>
    <dd><p>The anchored collidable node.</p>
</dd>
  </dl>











  <a id="Hi_NcMech_Workpieces_Workpiece_GetAnchoredDisplayeeList_" data-uid="Hi.NcMech.Workpieces.Workpiece.GetAnchoredDisplayeeList*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_GetAnchoredDisplayeeList" data-uid="Hi.NcMech.Workpieces.Workpiece.GetAnchoredDisplayeeList">
  GetAnchoredDisplayeeList()
  
  </h3>

  <div class="markdown level1 summary"><p>Gets a list of anchored displayable objects.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public List&lt;IAnchoredDisplayee&gt; GetAnchoredDisplayeeList()</code></pre>
  </div>


  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.list-1">List</a>&lt;<a class="xref" href="Hi.Mech.Topo.IAnchoredDisplayee.html">IAnchoredDisplayee</a>&gt;</dt>
    <dd><p>A list of <a class="xref" href="Hi.Mech.Topo.IAnchoredDisplayee.html">IAnchoredDisplayee</a> objects</p>
</dd>
  </dl>











  <a id="Hi_NcMech_Workpieces_Workpiece_GetCollidableAnchor_" data-uid="Hi.NcMech.Workpieces.Workpiece.GetCollidableAnchor*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_GetCollidableAnchor" data-uid="Hi.NcMech.Workpieces.Workpiece.GetCollidableAnchor">
  GetCollidableAnchor()
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the anchor associated with this collidable leaf.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public Anchor GetCollidableAnchor()</code></pre>
  </div>


  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Mech.Topo.Anchor.html">Anchor</a></dt>
    <dd><p>The anchor for this collidable leaf.</p>
</dd>
  </dl>











  <a id="Hi_NcMech_Workpieces_Workpiece_GetCollidee_" data-uid="Hi.NcMech.Workpieces.Workpiece.GetCollidee*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_GetCollidee" data-uid="Hi.NcMech.Workpieces.Workpiece.GetCollidee">
  GetCollidee()
  
  </h3>

  <div class="markdown level1 summary"><p>Get <a class="xref" href="Hi.Collision.ICollidee.html">ICollidee</a>.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ICollidee GetCollidee()</code></pre>
  </div>


  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Collision.ICollidee.html">ICollidee</a></dt>
    <dd><p><a class="xref" href="Hi.Collision.ICollidee.html">ICollidee</a></p>
</dd>
  </dl>











  <a id="Hi_NcMech_Workpieces_Workpiece_GetCuttingPara_" data-uid="Hi.NcMech.Workpieces.Workpiece.GetCuttingPara*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_GetCuttingPara" data-uid="Hi.NcMech.Workpieces.Workpiece.GetCuttingPara">
  GetCuttingPara()
  
  </h3>

  <div class="markdown level1 summary"><p>Get <a class="xref" href="Hi.MillingForces.Fittings.ICuttingPara.html">ICuttingPara</a>.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public ICuttingPara GetCuttingPara()</code></pre>
  </div>


  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.MillingForces.Fittings.ICuttingPara.html">ICuttingPara</a></dt>
    <dd><p><a class="xref" href="Hi.MillingForces.Fittings.ICuttingPara.html">ICuttingPara</a></p>
</dd>
  </dl>











  <a id="Hi_NcMech_Workpieces_Workpiece_GetRuntimeGeom_" data-uid="Hi.NcMech.Workpieces.Workpiece.GetRuntimeGeom*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_GetRuntimeGeom_System_Threading_CancellationToken_System_IProgress_Hi_Common_NativeProgresses_IProgressReport__" data-uid="Hi.NcMech.Workpieces.Workpiece.GetRuntimeGeom(System.Threading.CancellationToken,System.IProgress{Hi.Common.NativeProgresses.IProgressReport})">
  GetRuntimeGeom(CancellationToken, IProgress&lt;IProgressReport&gt;)
  
  </h3>

  <div class="markdown level1 summary"><p>Gets the runtime geometry.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public CubeTree GetRuntimeGeom(CancellationToken token, IProgress&lt;IProgressReport&gt; progress = null)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>token</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
    <dd><p>Cancellation token.</p>
</dd>
    <dt><code>progress</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iprogress-1">IProgress</a>&lt;<a class="xref" href="Hi.Common.NativeProgresses.IProgressReport.html">IProgressReport</a>&gt;</dt>
    <dd><p>Progress reporting interface.</p>
</dd>
  </dl>

  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="Hi.Cbtr.CubeTree.html">CubeTree</a></dt>
    <dd><p>Cube tree representing the runtime geometry.</p>
</dd>
  </dl>











  <a id="Hi_NcMech_Workpieces_Workpiece_MakeXmlSource_" data-uid="Hi.NcMech.Workpieces.Workpiece.MakeXmlSource*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_MakeXmlSource_System_String_System_String_System_Boolean_" data-uid="Hi.NcMech.Workpieces.Workpiece.MakeXmlSource(System.String,System.String,System.Boolean)">
  MakeXmlSource(string, string, bool)
  
  </h3>

  <div class="markdown level1 summary"><p>Creates an XML representation of the object.
This method may also generate additional resources such as related files.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public XElement MakeXmlSource(string baseDirectory, string relFile, bool exhibitionOnly)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>baseDirectory</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>The base directory for resolving relative paths</p>
</dd>
    <dt><code>relFile</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>The relative file path for the XML source</p>
</dd>
    <dt><code>exhibitionOnly</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
    <dd><p>if true, the extended file creation is suppressed.</p>
</dd>
  </dl>

  <h4 class="section">Returns</h4>
  <dl class="parameters">
    <dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.xml.linq.xelement">XElement</a></dt>
    <dd><p>An XML element representing the object's state</p>
</dd>
  </dl>







  <h4 class="section" id="Hi_NcMech_Workpieces_Workpiece_MakeXmlSource_System_String_System_String_System_Boolean__remarks">Remarks</h4>
  <div class="markdown level1 remarks"><p>For the demand of easy moving source folder (especially project folder) without configuration file path corruption, the relative file path is applied.
The <code class="paramref">baseDirectory</code> is typically the folder at the nearest configuration file folder.
Since the folder can be moving with the configuration file.</p>
</div>




  <a id="Hi_NcMech_Workpieces_Workpiece_ReadRuntimeGeom_" data-uid="Hi.NcMech.Workpieces.Workpiece.ReadRuntimeGeom*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_ReadRuntimeGeom_System_String_" data-uid="Hi.NcMech.Workpieces.Workpiece.ReadRuntimeGeom(System.String)">
  ReadRuntimeGeom(string)
  
  </h3>

  <div class="markdown level1 summary"><p>Reads the runtime geometry from a file.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void ReadRuntimeGeom(string file)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>file</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>Source file path.</p>
</dd>
  </dl>












  <a id="Hi_NcMech_Workpieces_Workpiece_ResetRuntimeGeom_" data-uid="Hi.NcMech.Workpieces.Workpiece.ResetRuntimeGeom*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_ResetRuntimeGeom_Hi_CutterLocations_ClStrips_ClStrip_" data-uid="Hi.NcMech.Workpieces.Workpiece.ResetRuntimeGeom(Hi.CutterLocations.ClStrips.ClStrip)">
  ResetRuntimeGeom(ClStrip)
  
  </h3>

  <div class="markdown level1 summary"><p>Resets the runtime geometry.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void ResetRuntimeGeom(ClStrip clStrip)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>clStrip</code> <a class="xref" href="Hi.CutterLocations.ClStrips.ClStrip.html">ClStrip</a></dt>
    <dd><p>Cutter location strip.</p>
</dd>
  </dl>












  <a id="Hi_NcMech_Workpieces_Workpiece_SetRuntimeGeom_" data-uid="Hi.NcMech.Workpieces.Workpiece.SetRuntimeGeom*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_SetRuntimeGeom_Hi_Cbtr_CubeTree_" data-uid="Hi.NcMech.Workpieces.Workpiece.SetRuntimeGeom(Hi.Cbtr.CubeTree)">
  SetRuntimeGeom(CubeTree)
  
  </h3>

  <div class="markdown level1 summary"><p>Sets the runtime geometry instance and rebuilds its attachments.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void SetRuntimeGeom(CubeTree runtimeGeom_)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>runtimeGeom_</code> <a class="xref" href="Hi.Cbtr.CubeTree.html">CubeTree</a></dt>
    <dd><p>The runtime cube tree geometry.</p>
</dd>
  </dl>












  <a id="Hi_NcMech_Workpieces_Workpiece_WriteRuntimeGeom_" data-uid="Hi.NcMech.Workpieces.Workpiece.WriteRuntimeGeom*"></a>

  <h3 id="Hi_NcMech_Workpieces_Workpiece_WriteRuntimeGeom_System_String_System_Threading_CancellationToken_System_Progress_Hi_Common_NativeProgresses_IProgressReport__" data-uid="Hi.NcMech.Workpieces.Workpiece.WriteRuntimeGeom(System.String,System.Threading.CancellationToken,System.Progress{Hi.Common.NativeProgresses.IProgressReport})">
  WriteRuntimeGeom(string, CancellationToken, Progress&lt;IProgressReport&gt;)
  
  </h3>

  <div class="markdown level1 summary"><p>Writes the runtime geometry to a file.</p>
</div>
  <div class="markdown level1 conceptual"></div>

  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public void WriteRuntimeGeom(string file, CancellationToken token, Progress&lt;IProgressReport&gt; progress = null)</code></pre>
  </div>

  <h4 class="section">Parameters</h4>
  <dl class="parameters">
    <dt><code>file</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
    <dd><p>Target file path.</p>
</dd>
    <dt><code>token</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken">CancellationToken</a></dt>
    <dd><p>Cancellation token.</p>
</dd>
    <dt><code>progress</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.progress-1">Progress</a>&lt;<a class="xref" href="Hi.Common.NativeProgresses.IProgressReport.html">IProgressReport</a>&gt;</dt>
    <dd><p>Progress reporting interface.</p>
</dd>
  </dl>













</article>

        <div class="contribution d-print-none">
        </div>


      </div>

      <div class="affix">
        <nav id="affix"></nav>
      </div>
    </main>

    <div class="container-xxl search-results" id="search-results"></div>

    <footer class="border-top text-secondary">
      <div class="container-xxl">
        <div class="flex-fill">
          <span> Copyright © 2025 <a href='https://superhightech.com.tw'>Tech Coordinate</a>. All rights reserved. <a href='https://superhightech.com.tw'>超級高科技股份有限公司</a> © 2025 版權所有 </span>
        </div>
      </div>
    </footer>
  </body>
</html>
